

PROGRAM _INIT
	FOR AxisIndex := 0 TO AXIS_MAX_INDEX BY 1 DO
		
		gAxisCtrl[AxisIndex].Status.Step            := STATE_WAIT; (* start step *)
	END_FOR
	
	gAxisCtrl[Mix_Axis].AxisRef   := ADR(gAxisMix);
	gAxisCtrl[Trans_Axis].AxisRef := ADR(gAxisTrans);
	
	gAxisCtrl[Mix_Axis].Parameter.ManuAcceleration := 5000;
	gAxisCtrl[Mix_Axis].Parameter.ManuDeceleration := 5000;
	gAxisCtrl[Mix_Axis].Parameter.ManuVelocity     := 1000;
	gAxisCtrl[Mix_Axis].Parameter.ManuPosition     := 0;
	gAxisCtrl[Mix_Axis].Parameter.ManuDistance     := 1000;
	
	gAxisCtrl[Trans_Axis].Parameter.ManuAcceleration := 5000;
	gAxisCtrl[Trans_Axis].Parameter.ManuDeceleration := 5000;
	gAxisCtrl[Trans_Axis].Parameter.ManuVelocity     := 1000;
	gAxisCtrl[Trans_Axis].Parameter.ManuPosition     := 0;
	gAxisCtrl[Trans_Axis].Parameter.ManuDistance     := 1000;
	
	
END_PROGRAM
